/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package service;

import domain.Comment;
import java.util.List;

/**
 *
 * @author yuyok
 */
public interface ICommentService extends IGenericService<Comment> {

    /**
     * validate comment
     * @param Comment comment to be validated
     * @throws IllegalArgumentException
     *             If comment is <code>null</code>
     */
    public boolean validateComment(Comment comment, Long videoId, Long userId) throws IllegalArgumentException;
    public List<Comment> getAllComments();
}
